package mytime;

public class TestMyTime {
	public static void main(String[] args) {
		MyTime myTime = new MyTime(23, 58, 34);

		System.out.println(myTime.nextSecond());
		System.out.println(myTime.nextMinute());
		System.out.println(myTime.nextHour());

		System.out.println(myTime.previousHour());
		System.out.println(myTime.previousMinute());
		System.out.println(myTime.previousSecond());
	}
}
